﻿using System.Windows.Controls;
using System.Windows.Input;

namespace Lottery.Client.SL.Controls
{
    public partial class UserCenter : UserControl
    {
        public ISystemMain IMain { get; set; }

        private bool EU3FK7EGy3;
        public UserCenter()
		{
			this.InitializeComponent();
			this.CvEditUserInfo.MouseLeftButtonDown+=(new MouseButtonEventHandler(this.u8eFBTvILk));
			this.CvEditPassWord.MouseLeftButtonDown+=(new MouseButtonEventHandler(this.fX2FXkR4tk));
			this.CvEditPassWordAdv.MouseLeftButtonDown+=(new MouseButtonEventHandler(this.M1hF1PtvKM));
            //this.CvMyChase.MouseLeftButtonDown+=(new MouseButtonEventHandler(this.nN0FpjxGpU));
            //this.CvAccountDetail.MouseLeftButtonDown+=(new MouseButtonEventHandler(this.DKyFFBGYCx));
            //this.CvDistill.MouseLeftButtonDown+=(new MouseButtonEventHandler(this.w8jFe80Kj1));
            //this.CvProfitDetail.MouseLeftButtonDown+=(new MouseButtonEventHandler(this.xJ1Fkf380B));
		}
        private void u8eFBTvILk(object obj, MouseButtonEventArgs mouseButtonEventArgs)
        {
            this.IMain.SetReplicate(true);
            SetUserInfo setUserInfo = new SetUserInfo();
            setUserInfo.Show();
        }
        private void fX2FXkR4tk(object obj, MouseButtonEventArgs mouseButtonEventArgs)
        {
            this.IMain.SetReplicate(true);
            EditPassWord editPassWord = new EditPassWord();
            editPassWord.SetTitle(0);
        }
        private void M1hF1PtvKM(object obj, MouseButtonEventArgs mouseButtonEventArgs)
        {
            this.IMain.SetReplicate(true);
            EditPassWord editPassWord = new EditPassWord();
            editPassWord.SetTitle(1);
        }
        //private void nN0FpjxGpU(object obj, MouseButtonEventArgs mouseButtonEventArgs)
        //{
        //    ViewChase obj2 = new ViewChase();
        //    this.IMain.LoadUserControl(obj2);
        //}
        //private void DKyFFBGYCx(object obj, MouseButtonEventArgs mouseButtonEventArgs)
        //{
        //    AccountDetail obj2 = new AccountDetail();
        //    this.IMain.LoadUserControl(obj2);
        //}
        //private void w8jFe80Kj1(object obj, MouseButtonEventArgs mouseButtonEventArgs)
        //{
        //    DistillDetail obj2 = new DistillDetail();
        //    this.IMain.LoadUserControl(obj2);
        //}
        //private void xJ1Fkf380B(object obj, MouseButtonEventArgs mouseButtonEventArgs)
        //{
        //    ProfitDetail obj2 = new ProfitDetail();
        //    this.IMain.LoadUserControl(obj2);
        //}
    }
}
